package com.mzy.datepackage.M2022.Apr.fourteen;

import java.sql.Timestamp;
import java.time.LocalDateTime;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author mzy
 * @Date 2022/4/13 17:05
 * @Version 1.0
 */
public class Demo {
    public static void main(String[] args) {

        for (int i = 0; i < 10; i++) {
            long time = Timestamp.valueOf(LocalDateTime.now()).getTime();
            System.out.println(time);
        }

    }
}
